package com.dearbinge.data.dao;

import com.dearbinge.data.pojo.position.Position;
import org.apache.ibatis.annotations.Param;
import org.mapstruct.Mapper;

@Mapper
public interface PositionMapper {
    Integer update(Position position);

    Integer insert(Position position);

    Integer delete(@Param("id") Integer id, @Param("userId") String userId);

    Position getByUserId(String userId);
}
